package com.tanhua.model.db;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_userquestionnaire")
public class UserQuestionnaire implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("userId")
    private String userId; //用户id
    @TableField("questionnaireId")
    private String questionnaireId; //问卷id
    @TableField("isLock")
    private Integer isLock = 1; //是否锁住
    @TableField("reportId")
    private String reportId; //报告id
}
